<style type="text/css">
    .bug{
        margin-top: 1.2%;
}
.no-error{
    padding: 10px 0 20px;
    margin-top: 0;
    text-align: left;
    font-size:2.0em;
    width: 790px;
    margin-left: auto;
    margin-right: auto;
}
.no-error img{
    margin-right: 20px;
}
.no-error span{
    display: inline-block;
    margin-top: 10px;
    vertical-align: -2px;
    letter-spacing:25px;
    color: #707070;
}
.left .charDataChange .table_box .bg-white{
    margin-bottom: 0;
}
.foot p{
    padding: 0;
}
.page-content .wraping{
    padding-bottom: 0;
}
.site_content .content_box .tabbable-full-width{
    margin-bottom: 0;
}
th,td{
    text-align: center;
}
</style>
    
<div class="draw_img" style="overflow: hidden;">
                            <div class="left charDataChange table_box bg-white">
                                <div class="title bug">故障列表</div>
                                <div class="cb"></div>
                                <div ng-if="!!warnModelList&&warnModelList.length>0">
                                <!-- 删除了table的id="table_1"-->
                                    <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                    <tr>
                                        <th>故障编号</th>
                                        <th>设备地址</th>
                                        <th>故障原因</th>
                                        <th>故障码</th>
                                        <th>记录时间</th>
                                        <th>状态</th>
                                        <th>处理详情</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                        <tr ng-repeat="warnModel in warnModelList  track by $index" on-loaded="{{$last}}" target-table="table_1">
                                                <td>
                                                    <span ng-bind="warnModel.charger_error_id"></span>
                                                </td>
                                                <td>
                                                    <span ng-bind="warnModel.charger_id"></span>
                                                </td>
                                                <td>
                                                    <span ng-bind="warnModel.error_msg" ></span>
                                                    
                                                </td>
                                                <td ng-bind="warnModel.error_code"></td>
                                                <td>
                                                    <span ng-bind="warnModel.create_time | date:'yyyy-MM-dd HH:mm:ss' "></span>
                                                </td>
                                                <td>
                                                    <span ng-bind="warnModel.status | getValueInStaticFilter : 'dealStatusArray'"></span>
                                                </td>
                                                <td>
                                                    <span ng-bind="warnModel.handle_text | commonSubString"> </span>
                                                </td>
                                        </tr>
                                    </tbody>
                                     </table>
                                </div>
                                <div ng-if="!!!warnModelList||warnModelList.length==0" class="no-error">
                                    <img src="./assets/img/warning_error.png">
                                    <span>设备运行良好，暂无故障信息</span>
                                </div>
                            </div>
                        </div>